package com.dxb.uc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @author DLS
 */
@RefreshScope
@Component
@ConfigurationProperties(prefix = "data.config")
@Data
public class DataShareConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    private List<DataObject> dataList;

}
